import { WorkflowPredefineDb } from '/@/enums/flowManage';

export const firstBracketOptions = [
  {
    value: '',
    label: '',
  },
  {
    value: '(',
    label: '(',
  },
  {
    value: ')',
    label: ')',
  },
];

export const compareOptions = [
  {
    value: '>=',
    label: '>=',
  },
  {
    value: '<=',
    label: '<=',
  },
  {
    value: '>',
    label: '>',
  },
  {
    value: '<',
    label: '<',
  },
  {
    value: '!=',
    label: '!=',
  },
  {
    value: '=',
    label: '=',
  },
];
export const compareOptions2 = [
  {
    value: '!=',
    label: '!=',
  },
  {
    value: '=',
    label: '=',
  },
];

export const logicalOptions = [
  {
    value: 'and',
    label: '并且',
  },
  {
    value: 'or',
    label: '或者',
  },
];

export const columns = [
  {
    title: '过滤条件',
    dataIndex: 'tztj',
    key: 'tztj',
    align: 'center',
    slots: { customRender: 'tztj' },
  },
  {
    title: '操作',
    align: 'center',
    dataIndex: 'action',
    key: 'action',
    slots: { customRender: 'action' },
    width: 100,
  },
];
